import { EntityDto } from './entity';
import { PagedResultRequestDto } from './paged-result-request';

export class AuditLogDto extends EntityDto {
    public userId!: number;

    public account!: string;

    public userName!: string;

    public tableName!: string;

    public columnName!: string;

    public operation!: string;

    public newValue!: string;

    public oldValue!: string;

    public operationTime!: Date;
}

export class AuditLogResultRequestDto extends PagedResultRequestDto {
    public account?: string;

    public startTime?: Date;

    public endTime?: Date;
}
